const product = {
  path: '/product',
  name: 'product',
  meta: { id: "2", title: '商品',icon: 'ios-archive', },
  component: resolve => require(['@/views/Base'], resolve),
  children: [
    {
      path: '/product/manage/list',
      name: 'product/manage/list',
      component: resolve => require(['@/views/product/manage/ManageList'], resolve),
      meta: {
        id: '2-1',
        title: '商品管理',
        active: false,
        keepAlive: true,
      }
    }, {
      path: '/product/manage/edit/edit',
      name: 'product/manage/edit/edit',
      hidden: true,
      component: resolve => require(['@/views/product/manage/ManageInfoEdit'], resolve),
      meta: {
        id: '2-1',
        title: '商品编辑',
        active: false,
      }
    }, {
      path: '/product/manage/add',
      name: 'product/manage/add',
      hidden: true,
      component: resolve => require(['@/views/product/manage/ManageAdd'], resolve),
      meta: {
        id: '2-1',
        title: '新增商品',
        active: false,
      }
    }, {
      path: '/product/tag/list',
      name: 'product/tag/list',
      component: resolve => require(['@/views/product/tag/TagList'], resolve),
      meta: {
        id: '2-2',
        title: '商品标签',
        active: false,
        keepAlive: true,
      }
    }, {
      path: '/product/category/list',
      name: 'product/category/list',
      component: resolve => require(['@/views/product/category/CategoryList'], resolve),
      meta: {
        id: '2-3',
        title: '店铺分类',
        active: false,
        keepAlive: true,
      }
    }, {
      path: '/product/apply/list',
      name: 'product/apply/list',
      component: resolve => require(['@/views/product/apply/ApplyList'], resolve),
      meta: {
        id: '2-4',
        title: '新商品申请',
        active: false,
        keepAlive: true,
      }
    }, {
      path: '/product/apply/look',
      name: 'product/apply/look',
      hidden: true,
      component: resolve => require(['@/views/product/manage/ManageInfoEdit'], resolve),
      meta: {
        id: '2-4',
        title: '查看申请商品',
        active: false,
      }
    }, {
      path: '/product/apply/edit',
      name: 'product/apply/edit',
      hidden: true,
      component: resolve => require(['@/views/product/manage/ManageInfoEdit'], resolve),
      meta: {
        id: '2-4',
        title: '编辑商品申请',
        active: false,
      }
    }, {
      path: '/product/apply/add',
      name: 'product/apply/add',
      hidden: true,
      component: resolve => require(['@/views/product/manage/ManageAdd'], resolve),
      meta: {
        id: '2-4',
        title: '新增商品申请',
        active: false,
      }
    },
    {
      path: '/product/sync/list',
      name: 'product/sync/list',
      component: resolve => require(['@/views/product/sync/SyncList'], resolve),
      meta: {
        id: '2-5',
        title: '商品同步',
        active: false,
        keepAlive: true,
      }
    }
    ,{
      path: '/product/brandStore/list',
      name: 'product/brandStore/list',
      component: resolve => require(['@/views/product/brandStore/BrandList'], resolve),
      meta: {
        id: '2-6',
        title: '经营品牌',
        active: false,
        keepAlive: true,
      }
    }
  ]
}


export default product
